﻿using System;
using System.Windows.Forms;
using System.Drawing;

namespace DatabaseAdminTools.Controls
{
    class TransparentPanel : System.Windows.Forms.Panel
    {
        public TransparentPanel()
        {
        }

        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams createParams = base.CreateParams;
                createParams.ExStyle |= 0x00000080; // WS_EX_TRANSPARENT
                return createParams;
            }
        }

    }
}
